package com.novunda.license.core;

/**
 * 解码
 * @author linfeng
 * @since 2016/10/12.
 */
interface LicenseDecode {

    /**
     * 把证书字符串解码为对象
     * @param content 证书内容字符串
     * @return 证书对象
     * @throws LicenseException 证书异常
     */
    LicenseContent decode(String content) throws LicenseException;

}
